package com.lanou3g.ptp.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@ApiModel
public class Diary implements Serializable {

    @ApiModelProperty("日志id")
    private Long id;
    @ApiModelProperty("学生id")
    private Long studentId;
    @ApiModelProperty("任务id")
    private Long taskId;
    @ApiModelProperty("图片")
    private String img;
    @ApiModelProperty("图片")
    private String[] imgs;
    @ApiModelProperty("日志内容")
    private String content;
    @ApiModelProperty("开始时间")
    private Date createTime;
    @ApiModelProperty("修改时间")
    private Date updateTime;
    @ApiModelProperty("状态")
    private Integer status;
    @ApiModelProperty("评论实体类")
    private Comment comment;
    @ApiModelProperty("点赞实体类")
    private Like like;

}
